package com.cyy.bean;


import java.util.Date;

public class history extends record{
    int recordId;
    int state;

    public history(int recordId, String userName, String productName, int price, int num, String time, int state,int usability) {
        super(recordId, userName, productName, price, num, time,usability);
        this.recordId = recordId;
        this.state = state;
    }

    @Override
    public String toString() {
        return "history{" +
                "recordId=" + recordId +
                ", state='" + state + '\'' +
                ", recordId=" + recordId +
                ", userName='" + userName + '\'' +
                ", productName='" + productName + '\'' +
                ", price=" + price +
                ", num=" + num +
                ", time='" + time + '\'' +
                ", usability='" + usability + '\'' +
                '}';
    }

    @Override
    public int getRecordId() {
        return recordId;
    }

    @Override
    public void setRecordId(int recordId) {
        this.recordId = recordId;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }
}
